package cn.yunhe.services.impl;

import cn.yunhe.dao.IProfDao;
import cn.yunhe.entity.Dept;
import cn.yunhe.entity.Prof;
import cn.yunhe.services.IProfServices;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2018/6/5.
 */
@Service("profServicesImpl")
public class ProfServices implements IProfServices {

    @Resource
    private IProfDao profDao;

    @Override
    public List<Prof> getAllProfServices(Dept dept)
    {
        return profDao.getAllProf(dept);
    }
}
